package 继承;

public class Test1 {
    public static void main(String[]args){
      Person p1=new Student();
      Person p2=new Employee();
           p1.study();
           p2.study();
      System.out.println(p1.toString());
        System.out.println(p2.toString());

    }
}
